<div class="{$Block.code|lower} pbdiv">
{include file=$Config.ModulesFolder|cat:$Config.BlocksFolder|cat:"block.block_title.tpl" Title=$Block.title}
{*
{strip}
<script type="text/javascript">
{literal}
function showCloud(id)
{  $('div.kcloud').hide();
  $('div.kc_'+id).fadeIn();
}
{/literal}
</script>
{/strip}

<select onchange="showCloud(this.value);">
{foreach from=$KeywordGroups item="curr"}
 <option value="{$curr.linkname}">{$curr.title}</option>
{/foreach}
</select>
*}
{foreach from=$KeywordGroups item="curr" name="cld"}
<p class="kcloud kc_{$curr.linkname}" style="display:{if $smarty.foreach.cld.first eq true}block{else}none{/if}">
{foreach from=$curr.keywords item="key"}<a href="{$BaseURL}tags/{$key.linkname}{$Config.webPageFileType}">{if $key.main}<strong>{/if}{$key.title}{if $key.main}</strong>{/if}</a> {/foreach}
</p>
{/foreach}
</div>